<div class="content4 content41 page" data-page="main_finance"
	id="main_finance">
	<div class="page table-section none">
		<p class="table-head">
			<label class="table-title"> 当前位置: <a
				href="javascript:void(0)" class="platform_main">首页</a>&nbsp;&gt;&nbsp;
				<label class="locationContract"></label>
			</label>
		</p>
		<div class="table-search">
			<div class="searchDataLine">
				<div>
					合同序列号： <input class="financeContractSerialNumber" type="text" />
				</div>
				<div>
					箱号： <input class="caseNumber" type="text" />
				</div>
				<div>
					融资编号： <input class="financeNumber" type="text" />
				</div>
				<div>
					<!--流水单号：
					<input class="statementNumber" type="text" />-->
				</div>
				<div>
					<!--收款单位名称：
					<input class="receiptName" type="text" />-->
				</div>
			</div>
			<div class="searchDataLine">

				<div>
					物流运单号： <input class="waybillNumber" type="text" />
				</div>
				<div>
					融资客户： <input class="enterpriseName" type="text" />
				</div>
				<div>
					融资货物： <input class="bulkstockName" type="text" />
				</div>
			</div>
			<div class="searchDataLine">
				<div>
					业务类型： <select name="productType">
					<option value="0">全部</option>
					<option value="1">舱单代采</option>
					<option value="2">舱单质押</option>
					<option value="3">仓储质押</option>
					<option value="4">保理融资</option>
					<option value="5">代理采购</option>
					<option value="6">代理销售</option>
					</select>
				</div>
				<div>
					状态： <select class="searchStatus"
						style="width: 80px; margin-right: 42px;">
						<option value="2">待办</option>
						<option value="1">全部</option>
					</select>
					<button class="table-search-button seatchButon">查询</button>
				</div>
			</div>
		</div>
		<p>
		<table class="table" cellspacing="0px" cellpadding="0px">
			<tr class="table_title">
				<th style="width:3%;">No</th>
				<th style="width:12%;">申请时间 | 融资编号</th>
				<th style="width:18%;">融资客户</th>
				<th style="width:6%;">业务类型</th>
				<th style="width:17%;">合同序列号</th>
				<!-- <th style="width:7%;">当前审批节点</th> -->
				<th style="width:6%;">融资货物</th>
				<th style="width:10%;">申请金额(元)</th>
				<th style="width:10%;">融资金额(元)</th>
				<th style="width:6%;">融资状态</th>
				<th style="width:6%;" id="contrOne" class="contractState">状态</th>
				<th style="width:6%;">操作</th>
			</tr>
			<tbody id="financeListBody"></tbody>
		</table>
		<div id="pagenation" class="pagerCon"></div>
		<script type="text/template" id="financeListTpl">
				{@each datas as it,index}
				<tr financeConstractState="${it.financeConstractState}" enterpriseId="${it.enterpriseId}" constractState="${it.constractState}" productType="${it.productType}" financeConstractSample="${it.financeConstractSample}" applicationCreateDatetime="${it.applicationCreateDatetime}" constractCreateDatetime="${it.constractCreateDatetime}" receiveCreateDatetime="${it.receiveCreateDatetime}" financeAuditId="${it.financeAuditId}" applicationDateTime="${it.applicationDateTime}" class="applicationDateTime tr_style table-data" supervisionNoticeId="${it.supervisionNoticeId}" financeContractId="${it.financeContractId}" supervisionContractId="${it.supervisionContractId}" receive="${it.receive}" deliver="${it.deliver}" financeId="${it.financeId}" financeNumber="${it.financeNumber}" financeState1="${it.financeState}">
					<td>${index*1 + 1}</td>
					<td> 
						${it.applicationDateTime}
						<br/><span class="order_num">${it.financeNumber}<span class="callback">${getValueByKey(71, it.callback)}</span></span>
					</td>
					<td>${it.enterpriseName}</td>
					<td>
						${getValueByKey(7, it.productType)}
					</td>
					<td>${it.financeContractDetail.financeContractSerialNumber}</td>
				<!--	<td>${getValueByKey(83, it.finalState)}</td> -->
					<td>
						${it.bulkstocks[0].bulkstockName}
					</td>
					<!--<td>
						{@each it.bulkstocks as d} ${d.quantity}(${d.unit})
						<br/> {@/each}
					</td>-->
					<td>&#65509;${formatCurrency(it.applicationAmount)}</td>
					<td>&#65509;${formatCurrency(it.financeAmount)}</td>
					<td>${getValueByKey(30, it.financeState)}</td>
					<td class="contractState">
						<!--{@if it.financeState===3}
							{@if it.financeContractId===0}
								 未传融资合同 
							{@else}
							{@/if}
							{@if it.supervisionContractId===0}
							{@else}
								未审核合同 
							{@/if} 
						{@else if it.financeState===5} 
							{@if it.supervisionNoticeId===0} 
							{@else}
								未通知装货 
							{@/if} 
						{@else if it.financeState===22} 
							{@if it.constractState===5} 
								客户已提交合同
							{@/if} 
						{@/if}-->
						${getValueByKey(57, it.financeConstractState)}
					</td>
					<td>
						<a class="detail main_finance_operate"></a>
						<!--<a class="editPro" href="javascript:void(0);">增补计息项</a>-->
					</td>
				</tr>
				{@/each}
			</script>
		</p>


	</div>

</div>